from piercing.pierc_common import ToolMomentParams
import math


# 钻具扭矩计算计算
# 最大扭转圈数计算
def get_max_twist_turns(params: ToolMomentParams) -> float:
    max_turns:  float = params.torsion_coefficient * params.card_depth
    return max_turns

if __name__ == '__main__':
    params = ToolMomentParams()
    params.torsion_coefficient = 0.007
    params.card_depth = 2500
    max_turns = get_max_twist_turns(params)
    print(max_turns)